package com.zmc.order.infrastructure.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 用户评论表
 * 
 * @author zmc
 * @email 
 * @date 2025-05-26 10:30:34
 */
@Data
@TableName("comment_member_info")
public class CommentMemberInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 用户id
	 */
	private String memberId;

	private String spuId;
	/**
	 * 用户订单号
	 */
	private String orderSn;
	/**
	 * 0：待评价；1：待追评；2：已完成
	 */
	private Integer commentStatus;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 
	 */
	private Date updateTime;

	@JsonInclude(JsonInclude.Include.NON_EMPTY)
	@TableField(exist = false)
	private OrderEntity order;

}
